package ru.amse.tsyganov.jumleditor.view;

public class Line {
	public int x1;
	public int y1;
	public int x2;
	public int y2;
	
	public double getLength() {
		return Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2));
	}
}
